package com.guigu.aggregation;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName AggregationBootstrap
 * @Description
 * @Author liao
 * @Date2021/11/18 11:27
 * @Version V1.0
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@ComponentScan("com.guigu")
public class AggregationBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(AggregationBootstrap.class,args);
    }
}
